import { createApp } from 'vue'

import App from './App.vue'
import router from './router'
import pinia from '@/stores'
import VConsole from 'vconsole';


import VideoPlayer from 'vue-video-player';
import 'video.js/dist/video-js.css';  // 引入样式

// 1. 引入你需要的组件
import vant from 'vant';
import 'vant/lib/index.css';


// 用于rem适配方案
import 'amfe-flexible'
// 默认样式
import '@/styles/index.less'


const app = createApp(App)


app.use(VideoPlayer);

// 移动端控制台
const vconsole = new VConsole()
app.use(vconsole)

app.use(pinia)
app.use(router)
app.use(vant);

app.mount('#app')
